package com.ktgj.customer.service;

import java.util.List;
import com.ktgj.customer.domain.BusinessOrderSub;

/**
 * 订单子Service接口
 * 
 * @author ruoyi
 * @date 2021-07-30
 */
public interface IBusinessOrderSubService 
{
    /**
     * 查询订单子
     * 
     * @param orderSubId 订单子ID
     * @return 订单子
     */
    public BusinessOrderSub selectBusinessOrderSubById(Long orderSubId);

    /**
     * 查询订单子列表
     * 
     * @param businessOrderSub 订单子
     * @return 订单子集合
     */
    public List<BusinessOrderSub> selectBusinessOrderSubList(BusinessOrderSub businessOrderSub);

    /**
     * 新增订单子
     * 
     * @param businessOrderSub 订单子
     * @return 结果
     */
    public int insertBusinessOrderSub(BusinessOrderSub businessOrderSub);

    /**
     * 修改订单子
     * 
     * @param businessOrderSub 订单子
     * @return 结果
     */
    public int updateBusinessOrderSub(BusinessOrderSub businessOrderSub);

    /**
     * 批量删除订单子
     * 
     * @param orderSubIds 需要删除的订单子ID
     * @return 结果
     */
    public int deleteBusinessOrderSubByIds(Long[] orderSubIds);

    /**
     * 删除订单子信息
     * 
     * @param orderSubId 订单子ID
     * @return 结果
     */
    public int deleteBusinessOrderSubById(Long orderSubId);
}
